﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/MasterPage2.master" AutoEventWireup="true" CodeFile="Admin_ThemDoiTac.aspx.cs" Inherits="ChucNang_Admin_Admin_ThemDoiTac" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <center><h2>THÊM ĐỐI TÁC</h2></center>
    <table class="style1">
        <tr>
            <td align="right">
                Tên đối tác:</td>
                                <td>
                                    <asp:TextBox ID="txtTenDoiTac" runat="server" Width="225px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                        ControlToValidate="txtTenDoiTac" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Logo:</td>
            <td>
                <asp:FileUpload ID="FileUploadLogo" runat="server" />
            </td>
        </tr>
        <tr>
            <td align="right">
                Mã tài khoản ngân hàng</td>
                                <td>
                                    <asp:TextBox ID="txtMaTaiKhoanNganHang" runat="server" Width="170px"></asp:TextBox>
                                    
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    Mã thuế:</td>
            <td>
                <asp:TextBox ID="txtMaThue" runat="server" Width="166px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="txtMaThue">*</asp:RequiredFieldValidator>
            
            </td>
        </tr>
        <tr>
            <td align="right">
                Địa chỉ:</td>
            <td>
                <asp:TextBox ID="txtDiaChi" runat="server" Width="285px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="txtDiaChi">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                Điện thoại:</td>
            <td>
                <asp:TextBox ID="txtDienThoai" runat="server" Width="166px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="txtDienThoai">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                Người đại diện:</td>
            <td>
                <asp:TextBox ID="txtNguoiDaiDien" runat="server" Width="257px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="txtNguoiDaiDien">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                Website:</td>
            <td>
                <asp:TextBox ID="txtWebsite" runat="server" Width="224px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                    <asp:Button ID="btnThem" runat="server" onclick="btnThem_Click" Text="Thêm" 
                        Width="74px" />
                </td>
        </tr>
    </table>
</asp:Content>

